/* usage:
        ./main --flagfile main.config
*/

#include <gflags/gflags.h>
#include<iostream>

using std::cout;
using std::endl;

DEFINE_string(ip,"127.0.0.1","");
DEFINE_int32(port,8080," ");
DEFINE_bool(debug_enable,true," ");


int main(int argc, char* argv[])
{
    google::ParseCommandLineFlags(&argc,&argv,true);

    cout<<FLAGS_ip<<endl;
    cout<<FLAGS_port<<endl;
    cout<<FLAGS_debug_enable<<endl;

    return 0;
}